import React, { useState, useEffect } from 'react';
import VCanvas from '../core';
const GameWrapper = () => {
  useEffect(() => {
    new VCanvas('#Game');
  }, []);

  return (
    <div
      id="Game"
      style={{ width: '100%', height: '100%', overflow: 'scroll' }}
    ></div>
  );
};

export default GameWrapper;
